package nethandle

import (
	"log"
	"net"
)

var lianjieshu int = 0



func CloseConn(conn net.Conn) {
		lianjieshu = lianjieshu - 1
		log.Println("用户数量:   ", lianjieshu)
		conn.Close()
		log.Println(conn.RemoteAddr().String())

}

func NewConn() {
		lianjieshu = lianjieshu + 1
		log.Println("用户数量:   ", lianjieshu)
}
